package com.handpay.zztong.hp.trans.model;

import android.os.Parcel;

import com.handpay.zztong.hp.bean.ResponseBean;

/**
 * @author sxshi on 2017/3/1.
 * @email:emotiona_xiaoshi@126.com
 * @describe:余额查询返回信息
 */

public class MicroBalanceQueryBean extends ResponseBean {

    private String bankType;

    private String bankName;

    private String cardNo;

    private String balance;

    private String DCData;

    public String getBankType() {
        return bankType;
    }

    public void setBankType(String bankType) {
        this.bankType = bankType;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getBalance() {
        return balance;
    }

    public void setBalance(String balance) {
        this.balance = balance;
    }

    public String getDCData() {
        return DCData;
    }

    public void setDCData(String DCData) {
        this.DCData = DCData;
    }

    @Override
    public String toString() {
        return "MicroBalanceQueryBean{" +
                "bankType='" + bankType + '\'' +
                ", bankName='" + bankName + '\'' +
                ", cardNo='" + cardNo + '\'' +
                ", balance='" + balance + '\'' +
                ", DCData='" + DCData + '\'' +
                '}';
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeString(this.bankType);
        dest.writeString(this.bankName);
        dest.writeString(this.cardNo);
        dest.writeString(this.balance);
        dest.writeString(this.DCData);
    }

    public MicroBalanceQueryBean() {
    }

    protected MicroBalanceQueryBean(Parcel in) {
        super(in);
        this.bankType = in.readString();
        this.bankName = in.readString();
        this.cardNo = in.readString();
        this.balance = in.readString();
        this.DCData = in.readString();
    }

    public static final Creator<MicroBalanceQueryBean> CREATOR = new Creator<MicroBalanceQueryBean>() {
        @Override
        public MicroBalanceQueryBean createFromParcel(Parcel source) {
            return new MicroBalanceQueryBean(source);
        }

        @Override
        public MicroBalanceQueryBean[] newArray(int size) {
            return new MicroBalanceQueryBean[size];
        }
    };
}
